package com.karrim.server.io;


import com.google.inject.Inject;
import java.util.Iterator;
import java.util.LinkedHashSet;

public class InputParserThread extends Thread {

    @Inject
    public InputParserThread(LinkedHashSet<String> input) {
        super("InputParserThread");
        this.input = input;
    }

    @Override
    synchronized public void run() {
        //Add parsing logic
    }

    void inputAdded(InputReaderThread reader) {
        start();
    }
    private LinkedHashSet<String> input;
    private Iterator<String> iterator = input.iterator();
}
